package org.example.erp.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 工序流程表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Procedures {
    /**
     * 工艺流程编码
     */
    @TableId
    private String procedureCode;

    /**
     * 工艺名称
     */
    private String procedureName;

    /**
     * 是否启用（0:启用，1:禁用）
     */
    private String isEnabled;

    /**
     * 说明
     */
    private String description;

    /**
     * 备注
     */
    private String remark;

    private String column6;

    private String column7;

    private String column8;

    @TableField(exist = false)
    private List<ProcedureDetails> procedureDetails;

    @TableField(exist = false)
    private List<ProcedureProduct> procedureProduct;
}